<?php

namespace GuanChanghu\Models\Traits\Change;



/**
 * Trait Facade
 * @method static static initialize(array $readySaveData)           初始化
 * @method static static changes(array $readySaveData = [])                设置预备保存数据
 * @method static static render()                                          解析数据、渲染数据
 * @method static static setReadySaveData(array $readySaveData)            更改保存
 * @method static static enableCreateLockForUpdate()                       开启创建加锁
 * @method static static pushAllowField(array|string $allowFields)          设置允许字段
 * @method static static pushRefuseField(array|string $refuseFields)        设置过滤字段
 * @method static static convertFieldType()                                转化类型
 * @method static static assignment()                                      赋值、过滤字段
 * @method static static filterNotChangeField()                            过滤没有更改的字段，针对修改
 * @method static static filterNotExistsField()                            过滤不存在的字段
 * @method static static changeDisabled()                                  更改禁用字段
 * @method static static changeTimestampByField(string $key, string $field)赋值事件字段
 * @method static static pushCreateBeforeEvent(array|string $event)
 * @method static static pushUpdateBeforeEvent(array|string $event)
 * @method static static pushChangeBeforeEvent(array|string $event)
 * @package GuanChanghu\Models\Traits\Change
 */
trait Facade
{
    use Encrypt;
}
